package com.learn.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.learn.user.dao.UserInfoDao;
import com.learn.user.entity.UserInfo;
import com.learn.user.service.UserInfoService;

@Service
public class UserInfoServiceImpl implements UserInfoService {

	@Autowired
	private UserInfoDao userInfoDao;

	@Override
	public UserInfo findByopenid(String openid) {
		return userInfoDao.findByOpenid(openid);
	}

}
